bufio.Scanner.maxTokenSize (field)
6 uses
bufio (current package)
scan.go#L32: maxTokenSize int // Maximum size of a token; modified by tests.
scan.go#L91: maxTokenSize: MaxScanTokenSize,
scan.go#L193: if len(s.buf) >= s.maxTokenSize || len(s.buf) > maxInt/2 {
scan.go#L201: if newSize > s.maxTokenSize {
scan.go#L202: newSize = s.maxTokenSize
scan.go#L272: s.maxTokenSize = max
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |